package com.simulation.web.domain;

import lombok.Data;

@Data
public class TechPostTag {
	/** 项目ID */
	private Long postId;
	/** 标签ID */
	private Long tagId;

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        TechPostTag that = (TechPostTag) o;
        return postId.equals(that.postId);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(postId);
    }
    
    @Override
    public String toString() {
        return "TechPostTag{" +
				"postId=" + postId +
						",tagId='" + tagId + "'" + 
		                '}';
    }
	
}